//
//  SimEmptyView.h
//  Knowbox
//
//  Created by LiuXubin on 15/11/30.
//  Copyright © 2015年 knowin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SimDefine.h"

SimDefineValue(kSimEmptyViewTitleColor, UIColor *);

typedef void(^SimEmptyTouchBlock)(void);


@interface SimEmptyView : UIView

@property (nonatomic, assign) CGFloat contentOffset;

@property (nonatomic, readonly) UIView *contentView;
@property (nonatomic, readonly) UILabel *emptyLb;
@property (nonatomic, readonly) UIImageView *iconView;

+ (id)showInView:(UIView *)view
        iconName:(NSString *)iconName
         content:(NSString *)content
           touch:(SimEmptyTouchBlock)touchBlock;

+ (void)removeFromView:(UIView *)view;

- (void)showWithIconName:(NSString *)iconName
                 content:(NSString *)content
                   touch:(SimEmptyTouchBlock)touchBlock;

@end
